package com.yyds.blackmagic.service;

import com.yyds.blackmagic.entity.AdminPermission;

import java.util.List;

public interface AdminPermissionService {
    List<AdminPermission> findPermsByRoleId (Integer id);

    List<AdminPermission> findAll ();

    int update (Integer id, List<AdminPermission> perms);
}
